package com.email.entity;

public class ConnInfo {
	
	private int port;
	private String host;
	private String username;
	private String passwd;
	private String protocol;
	
	public ConnInfo() {
		super();
	}
	public ConnInfo(int port, String host, String username, String passwd, String protocol) {
		super();
		this.port = port;
		this.host = host;
		this.username = username;
		this.passwd = passwd;
		this.protocol = protocol;
	}
	public int getPort() {
		return port;
	}
	public void setPort(int port) {
		this.port = port;
	}
	public String getHost() {
		return host;
	}
	public void setHost(String host) {
		this.host = host;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getPasswd() {
		return passwd;
	}
	public void setPasswd(String passwd) {
		this.passwd = passwd;
	}
	public String getProtocol() {
		return protocol;
	}
	public void setProtocol(String protocol) {
		this.protocol = protocol;
	}
	@Override
	public String toString() {
		return "ConnInfo [port=" + port + ", host=" + host + ", username=" + username + ", passwd=" + passwd
				+ ", protocol=" + protocol + "]";
	}
}
